export const columns = [
    {
        title: '创建时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: '180px'
    },
    {
        title: '商品等级',
        key: 'grade',
        dataIndex: 'grade',
        scopedSlots: { customRender: 'grade' },
        align: 'center',
    },
    {
        title: '商品颜色',
        key: 'colorId',
        dataIndex: 'colorId',
        scopedSlots: { customRender: 'colorId' },
        align: 'center',
    },
    {
        title: '周期',
        key: 'specId',
        dataIndex: 'specId',
        scopedSlots: { customRender: 'specId' },
        align: 'center',
    },
    {
        title: '枝干',
        key: 'description',
        dataIndex: 'description',
        scopedSlots: { customRender: 'description' },
        align: 'center',
        width: '160px'
    },
    {
        title: '单位',
        key: 'remarks',
        dataIndex: 'remarks',
        scopedSlots: { customRender: 'remarks' },
        align: 'center',
    },
    {
        title: '商品花型',
        key: 'flowerPattern',
        dataIndex: 'flowerPattern',
        scopedSlots: { customRender: 'flowerPattern' },
        align: 'center',
    },
    {
        title: '商品备注',
        key: 'notes',
        dataIndex: 'notes',
        scopedSlots: { customRender: 'notes' },
        align: 'center',
    },
    {
        title: '图片',
        key: 'imageUrl',
        dataIndex: 'imageUrl',
        scopedSlots: { customRender: 'imageUrl' },
        align: 'center',
    },
    {
        title: '上下架',
        dataIndex: 'status',
        key: 'status',
        align: 'center',
        scopedSlots: { customRender: 'status' },
    },
    {
        title: '操作',
        key: 'id',
        dataIndex: 'id',
        scopedSlots: { customRender: 'operation' },
        width: '180px',
        align: 'center',
    },
]